void my_copy(int *f1, int *e1, int *f2)
{
    while (f1 != e1)
        *f2++ = *f1++;
}